SG Window Window Object
Text Property

©1998 by Stinga

See Also     Properties     Methods      Events     Constants     Error Codes
Description

Returns or sets text from attached window

Syntax

object.Text

The object is expression that evaluates to the Window object.

Remarks

Text can be caption in a case of form or button, or it can be text content for VB Text control.

Example

Following examples retrieves active window's caption and displays it in a message box:

Dim w As New SGWindow.Window
w.AttachActiveWindow
MsgBox w.Text